﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Work.ProtoclBase;

namespace System.Work.ClientEngine.FPXH
{
    public interface IFPXHCommand
    {
        string Name { get; }
    }

    public interface IFPXHCommand<TArgs, TCommand> : IFPXHCommand
        where TArgs : EventArgs
        where TCommand : ICommandPrefix
    {
        void ExecuteCommand(EventHandler<TArgs> handle, BufferedPackageInfo package, TCommand prefix);
    }
}
